DiagramLite Programmer's Guide
Shape Constructor (ElementTemplate[], FillRule)
See Also
 





Initializes a new instance of the Shape class with the specified outline.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public Shape (
    ElementTemplate[] elements,
    FillRule fillRule
)

Visual Basic  Copy Code

Public New ( _
    elements() As ElementTemplate, _
    fillRule As FillRule _
)

 Parameters

elements

An array of shape template elements that define the outline of a shape. Can contain lines, arcs and Bézier curves.

fillRule

Specifies how areas are filled if the outline pathOutline intersects itself.

 See Also

Shape Constructor Overload List
Shape Class
MindFusion.Diagramming Namespace